import baseRequest from '../utils/requset'

// /api/admin/system/area/tree
export function getAreaApi (data) {
    return baseRequest.baseRequest(
        'api/admin/system/area/tree',
        'get',
        data
    )
}


// 设置为默认地址 /api/userAddress/setDefault?addressId=1111  get
export function setDefaultAddressApi (data) {
    return baseRequest.baseRequest(
        'api/userAddress/setDefault',
        'get',
        data
    )
}


